﻿@model IEnumerable<EADCA3MVCApp.Models.CloudService>

@{
    ViewBag.Title = "Services";

}

<h2>Cloud Services</h2>

<br />

<table>
    <tr>
        <th>
            Company:
        </th>
        <th>
            Service Size:
        </th>
        <th>
            Monthly Cost:
        </th>
         <th>
            Sign up:
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Company)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.InstanceSize)
        </td>
        <td>
           € @Html.DisplayFor(modelItem => item.MonthlyCost)
        </td>
         <td>
            <a href="@item.CompanyURL" target="_blank"/>Sign Up Now!
        </td>  
               
    </tr>
}

</table>
